package jdkDemo;

import java.io.UnsupportedEncodingException;

public class Test2 {
	public static void main(String[] args) throws UnsupportedEncodingException {
//		String string="东";
//		byte[] bs = string.getBytes("utf16");
//		for(byte b:bs){
//			System.out.println(b);
//		}
//		String s1 = new String(bs,"utf16");
//		System.out.println(s1);
		
		String string="a东b西c南d北";
		for (int i = 0; i < string.length(); i++) {
			char ch = string.charAt(i);
			if(ch>=97 && ch<=122){
				System.out.println(ch);
			}
				
		}
		
		String ok ="apple1";
		final int temp =1;
		String ok2 = "apple"+temp;
		System.out.println(ok == ok2);
		
	}

}
